#include<iostream>
#include<fstream>
#include<stdlib.h>

using namespace std;

int main (int argc,char* argv[])
{
    char src[260],dest[260],buff[16384];

    if(argc<2) cin>>src;
    else strcpy(src,argv[1]);
    if(argc<3) cin>>dest;
    else strcpy(dest,argv[2]);

    ifstream inf(src,ios_base::in|ios_base::binary);
    if(!inf.fail())
    {
        ofstream outf(dest,ios_base::out|ios_base::binary);
        while(!inf.eof())
        {
            inf.read(buff,sizeof(buff));
            outf.write(buff,inf.gcount());
        }
    outf.close();
    inf.close();    
    }

    system("pause");
    return 0;
}


